package rabbitmq.constant;

public class Constants {
    public static final String HOST = "8.152.203.113";
    public static final int PORT = 5672;
    public static final String USER_NAME = "study";
    public static final String PASSWORD = "study";
    public static final String VIRTUAL_HOST = "bite";
    // 工作队列
    public static final String WORK_QUEUE = "work.queue";

    // 发布/订阅
    public static final String FANOUT_EXCHANGE = "fanout.exchange";
    public static final String FANOUT_QUEUE1 = "fanout.queue1";
    public static final String FANOUT_QUEUE2 = "fanout.queue2";

    // 路由模式
    public static final String DIRECT_EXCHANGE = "direct.exchange";
    public static final String DIRECT_QUEUE1 = "direct.queue1";
    public static final String DIRECT_QUEUE2 = "direct.queue2";

    // 通配符模式
    public static final String TOPIC_EXCHANGE = "topic.exchange";
    public static final String TOPIC_QUEUE1 = "topic.queue1";
    public static final String TOPIC_QUEUE2 = "topic.queue2";

    // RPC 模式
    public static final String RPC_RESPONSE_QUEUE = "rpc.response.queue";
    public static final String RPC_REQUEST_QUEUE = "rpc.request.queue";

    // 发布确认模式
    public static final String PUBLISHER_CONFIRM_QUEUE1 = "publisher.confirm.queue1";
    public static final String PUBLISHER_CONFIRM_QUEUE2 = "publisher.confirm.queue2";
    public static final String PUBLISHER_CONFIRM_QUEUE3 = "publisher.confirm.queue3";

    // 推拉模式
    public static final String PULL_QUEUE = "pull.queue";
}
